#!/bin/bash

INST=$(pwd)/../screen-launcher-install

mkdir -p $INST/usr/local/bin/
mkdir -p $INST/usr/share/locale/ru/LC_MESSAGES/
mkdir -p $INST/etc/

cp launcher.py  $INST/usr/local/bin/
cp launcher.conf  $INST/etc/
cd po
for F in *.po
do L=$(basename $F .po)
   msgfmt -o $L.mo $F
   cp $L.mo  $INST/usr/share/locale/$L/LC_MESSAGES/screen-launcher.mo
done
